import LDataStoncolour from "./LDataStoncolour";
export default class LDataStoncolourManager 
{
    public static dataList:LDataStoncolour[] = [];
    public static GetDataById(index:number):LDataStoncolour
    {    
        if(LDataStoncolourManager.dataList.length == 0){
            LDataStoncolourManager.dataList[0] = new LDataStoncolour(0,"64d42a");
            LDataStoncolourManager.dataList[1] = new LDataStoncolour(1,"2ee6c2");
            LDataStoncolourManager.dataList[2] = new LDataStoncolour(2,"23d5e7");
            LDataStoncolourManager.dataList[3] = new LDataStoncolour(3,"238ae7");
            LDataStoncolourManager.dataList[4] = new LDataStoncolour(4,"2339e7");
            LDataStoncolourManager.dataList[5] = new LDataStoncolour(5,"5f29e2");
            LDataStoncolourManager.dataList[6] = new LDataStoncolour(6,"8929eb");
            LDataStoncolourManager.dataList[7] = new LDataStoncolour(7,"b324dd");
            LDataStoncolourManager.dataList[8] = new LDataStoncolour(8,"ed24a8");
            LDataStoncolourManager.dataList[9] = new LDataStoncolour(9,"ec2627");
        }
        return LDataStoncolourManager.dataList[index]
    }
}
